s = (1,2,3)
a = b = c = None
if 1 in s:
    a = 1
if 2 in s:
    b = 2
if 3 in s:
    c =3
print(a,b,c)